//
//  ACZoneDetailTableViewCell.m
//  家校互通
//
//  Created by 李赛 on 15/7/8.
//  Copyright (c) 2015年 姬鑫宇. All rights reserved.
//

#import "ACZoneDetailTableViewCell.h"

@implementation ACZoneDetailTableViewCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)setContentOfBlackBoard:(BlackBoardModel *)model{
    _contentLB.text = model.content;
    _lbSendUser.text = model.create_time;
    
    [_btnRead setTitle:[NSString stringWithFormat:@"已读 %ld",(long)model.read_count] forState:UIControlStateNormal];
    [_btnForQuetion setTitle:[NSString stringWithFormat:@"提问 %ld",(long)model.comment_count] forState:UIControlStateNormal];
    [_iconImage sd_setImageWithURL:[NSURL URLWithStringForBigImage:model.icon] placeholderImage:[UIImage imageNamed:@"icon02"]];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
